package com.hebeu.gfh.exception;

/**
 *
 * @description 异常信息枚举类
 * @author Liujianli
 * @date 2023-02-27
 */
public enum AppExceptionCodeMsg {

    INVALID_CODE(10000,"验证码无效"),
    USERNAME_NOT_EXISTS(10001,"用户名不存在"),
    PASSWORD_ERROR(10002,"密码错误"),
    USERNAMET_EXISTS(10003,"用户名已存在"),
    UPDATE_ERROR(10004,"更新失败");
    ;

    private int code ;
    private String msg ;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    AppExceptionCodeMsg(int code, String msg){
        this.code = code ;
        this.msg = msg ;
    }
}
